#!@TERMUX_PREFIX@/bin/bash

if [ "$1" = "triggered" ]; then
    exit 0
fi

if [[ -d "@TERMUX_PREFIX@/lib/gtk-2.0/2.10.0" ]]; then
    rm -f "@TERMUX_PREFIX@/lib/gtk-2.0/2.10.0/immodules.cache"
    rmdir -p --ignore-fail-on-non-empty "@TERMUX_PREFIX@/lib/gtk-2.0/2.10.0"
fi

exit 0
